﻿
@{
    ViewBag.Title = "admin";
    Layout = "~/Views/Shared/Index.cshtml";
}


@model List<YaYun.Models.admin>

<h2>系统管理员</h2>

<table class="layui-table layui-form">
    <tr>
        <th class="emp_id_td">序号</th>
        <th class="emp_tr_t">管理员账号</th>
        <th class="emp_tr_t">管理员密码</th>
        <th class="emp_tr_t">管理员全名</th>
        <th class="emp_tr_t">管理员电子邮件</th>
        <th class="emp_tr_t">管理员手机号码 </th>
        <th class="emp_tr_t">创建时间</th>
 
    </tr>
    @foreach (var item in Model)
    {
        <tr class="tr_hover">
            <td class="emp_id_td">@item.id</td>
            <td class="emp_tr_t">@item.username</td>
            <td class="emp_tr_t">@item.adminPassword</td>
            <td class="emp_tr_t">@item.full_name</td>
            <td class="emp_tr_t">@item.email</td>
            <td class="emp_tr_t">@item.mobile</td>           
            <td class="emp_tr_t">@item.created_at</td>
         
        </tr>
    }
</table>

